﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OSA.Policlinic.UI.WFApplicationWCF.RegistryServiceReference
{
    public partial class Employee : BusinessObjectBase
    {
      

        public Employee()
        {
            this.Address = default(Address);
        }

        public Employee(int id, bool isDeleted, string surname, string name, string middlename, string post, Address address)
            :base(id, isDeleted)
        {
            SurnameField = surname;
            NameField = name;
            MiddlenameField = middlename;
            PostField = post;
            Address = address;
        }

        public Employee(string surname, string name, string middlename, string post, Address address)
        {
            SurnameField = surname;
            NameField = name;
            MiddlenameField = middlename;
            PostField = post;
            Address = address;
        }









        public override string ToString()
        {
            return Surname + " " + Name + " " + Middlename;
        }

       
    }
	
}
